package com.highcom.service;

import com.highcom.entity.PageResult;
import com.highcom.entity.QueryPageBean;
import com.highcom.model.Setmeal;
import com.highcom.model.TSetmeal;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @Author YangJiaQuan_hrbnu
 * @Date 2024/8/1 17:18
 */
public interface SetMealService {
    void add(TSetmeal tSetmeal, Integer[] checkgroupIds);

    PageResult pageQuery(QueryPageBean queryPageBean);

    Setmeal findById(Integer id);

    List<Integer> findCheckGroupBySetmealId(Integer id);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    void delete(Integer id);

    List<TSetmeal> findAll();

    TSetmeal findByIdAndCheckgroupsAndCheckItems(Integer id);

    List<Map<String, Object>> findSetmealCount();
}
